package com.ktgj.flight.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 机票产品对象 flight_open_product
 * 
 * @author ruoyi
 * @date 2021-11-10
 */
public class FlightOpenProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 0关闭，1开启 */
    @Excel(name = "0关闭，1开启")
    private Long state;

    /** $column.columnComment */
    @Excel(name = "0关闭，1开启")
    private Long operationId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** $column.columnComment */
    @Excel(name = "产品名称")
    private String issueUrl;

    /** $column.columnComment */
    @Excel(name = "产品名称")
    private String userName;

    /** $column.columnComment */
    @Excel(name = "产品名称")
    private String userPwd;

    /** $column.columnComment */
    @Excel(name = "产品名称")
    private String tradeName;

    /** $column.columnComment */
    @Excel(name = "产品名称")
    private String tradePwd;

    /** $column.columnComment */
    @Excel(name = "产品名称")
    private String returnUrl;

    /** $column.columnComment */
    @Excel(name = "产品名称")
    private Integer tpId;

    /** 航空公司二字码用|隔开 */
    @Excel(name = "航空公司二字码用|隔开")
    private String airCompany;

    /** 下单联系人手机号（为空，则代表留用户的手机） */
    @Excel(name = "下单联系人手机号", readConverterExp = "为=空，则代表留用户的手机")
    private String mobile;

    /** sql表缓存时间（单位分钟） */
    @Excel(name = "sql表缓存时间", readConverterExp = "单=位分钟")
    private Long cacheTime;

    /** 支持航线出港到港三字码用|隔开 */
    @Excel(name = "支持航线出港到港三字码用|隔开")
    private String route;

    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setOperationId(Long operationId) 
    {
        this.operationId = operationId;
    }

    public Long getOperationId() 
    {
        return operationId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setIssueUrl(String issueUrl) 
    {
        this.issueUrl = issueUrl;
    }

    public String getIssueUrl() 
    {
        return issueUrl;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserPwd(String userPwd) 
    {
        this.userPwd = userPwd;
    }

    public String getUserPwd() 
    {
        return userPwd;
    }
    public void setTradeName(String tradeName) 
    {
        this.tradeName = tradeName;
    }

    public String getTradeName() 
    {
        return tradeName;
    }
    public void setTradePwd(String tradePwd) 
    {
        this.tradePwd = tradePwd;
    }

    public String getTradePwd() 
    {
        return tradePwd;
    }
    public void setReturnUrl(String returnUrl) 
    {
        this.returnUrl = returnUrl;
    }

    public String getReturnUrl() 
    {
        return returnUrl;
    }
    public void setTpId(Integer tpId) 
    {
        this.tpId = tpId;
    }

    public Integer getTpId() 
    {
        return tpId;
    }
    public void setAirCompany(String airCompany) 
    {
        this.airCompany = airCompany;
    }

    public String getAirCompany() 
    {
        return airCompany;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setCacheTime(Long cacheTime) 
    {
        this.cacheTime = cacheTime;
    }

    public Long getCacheTime() 
    {
        return cacheTime;
    }
    public void setRoute(String route) 
    {
        this.route = route;
    }

    public String getRoute() 
    {
        return route;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("state", getState())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("operationId", getOperationId())
            .append("productName", getProductName())
            .append("issueUrl", getIssueUrl())
            .append("userName", getUserName())
            .append("userPwd", getUserPwd())
            .append("tradeName", getTradeName())
            .append("tradePwd", getTradePwd())
            .append("returnUrl", getReturnUrl())
            .append("tpId", getTpId())
            .append("airCompany", getAirCompany())
            .append("mobile", getMobile())
            .append("cacheTime", getCacheTime())
            .append("route", getRoute())
            .toString();
    }
}
